package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 合同对象 sys_contract
 * 
 * @author ruoyi
 * @date 2025-08-27
 */
@Data
public class SysContract extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 合同ID */
    private Long contractId;

    /** 合同名称 */
    @Excel(name = "合同名称")
    private String contractName;

    /** 投标批次 */
    @Excel(name = "投标批次")
    private Long bidBatch;

    private String bidBatchName;

    /** 合同甲方 */
    @Excel(name = "合同甲方")
    private String partyA;

    /** 合同乙方 */
    @Excel(name = "合同乙方")
    private String partyB;

    /** 合同金额 */
    @Excel(name = "合同金额")
    private BigDecimal contractAmount;

    /** 承办单位 */
    @Excel(name = "承办单位")
    private String undertakeUnit;

    /** 合同状态 */
    @Excel(name = "合同状态")
    private String contractStatus;

    /** 合同签订日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "合同签订日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date signDate;

    /** 合同附件URL */
    @Excel(name = "合同附件URL")
    private String attachmentUrl;

    private Long userId;

    private Long deptId;
}
